
public class IntrarePhoneBook implements Intrare{
private String name;
private Address address;
private PhoneNumber number;
public IntrarePhoneBook(String n, Address a, PhoneNumber p)
{
	this.name=n;
	this.address=a;
	this.number=p;
}
public Intrare copiere()
{
	return new IntrarePhoneBook(this.name,this.address,this.number);
}
public String getName()
{
	return this.name;
}
public String toString()
{
	return "Intrare PhoneBook: " +this.name+" "+this.address+" "+this.number;
}

}
